import { defineConfig } from '@rsbuild/core';
import { pluginReact } from '@rsbuild/plugin-react';
import { pluginSass } from '@rsbuild/plugin-sass';
import path from 'path';

export default defineConfig({
 

  plugins: [
    pluginReact({
    }),
    pluginSass({
      sassLoaderOptions: {
        additionalData: `@import "@/styles/variables.scss";`,
      },
    }),
  ],

  // 源文件相关配置
  source: {
    alias: {
      '@': path.resolve(__dirname, './src'),
    }
  },




 
});
